package com.brother.template.inflxudb.model;

/**
 * Created by xjw on 2018/3/29.
 */
public class Ipassengerflow {
    private Integer zoneId;
    private String time;
    private Double countEnter;
    private Double countExit;

    public Integer getZoneId() {
        return zoneId;
    }

    public void setZoneId(Integer zoneId) {
        this.zoneId = zoneId;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Double getCountEnter() {
        return countEnter;
    }

    public void setCountEnter(Double countEnter) {
        this.countEnter = countEnter;
    }

    public Double getCountExit() {
        return countExit;
    }

    public void setCountExit(Double countExit) {
        this.countExit = countExit;
    }

    @Override
    public boolean equals(Object obj) {
        Ipassengerflow ip = (Ipassengerflow) obj;
        if (zoneId.equals(ip.getZoneId()) && time.equals(ip.getTime())) {
            return true;
        } else {
            return false;
        }
    }
}
